home *** CD-ROM | disk | FTP | other *** search
/ 600 Games / 600games.iso / Aventura / TheBearsAdventure.swf / scripts / frame_6 / PlaceObject2_676_147 / CLIPACTIONRECORD onClipEvent(enterFrame).as next >
Encoding:
Text File  |  2005-08-04  |  303 b   |  20 lines

  1. onClipEvent(enterFrame){
  2.    if(_visible)
  3.    {
  4.       _Y = _Y - 4;
  5.       count += 2;
  6.       if(count > 10)
  7.       {
  8.          _alpha = (60 - count) * 2;
  9.       }
  10.       else
  11.       {
  12.          _alpha = 100;
  13.       }
  14.       if(count >= 60)
  15.       {
  16.          this.removeMovieClip();
  17.       }
  18.    }
  19. }
  20.